<?php
if(!interface_exists('XEvent', false)){
	require_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'XEvent.php');
}
class XApplicationEvent implements XEvent{
	protected $source = null;
	
	public function __construct($source){
		$this->source = $source;
	}
	
	/** 
	 * @return object
	 */
	public function getSource(){
		return $this->source;
	}
}
?>